let http=require('http');
let fs=require('fs');
let path=require('path')
http.createServer((request,response)=>{
    console.log('接收到了')
    // response.end('在呢')
        response.end(fs.readFileSync(path.join(__dirname,'./index.html')))

}).listen(3000)